﻿<div data-bind="with: review">
    <div class="row">
        <div class="large-8 columns small-offset-2">
            <div class="product-title" data-bind="text: $parent.product().title()"></div>
            <label style="margin-top:1em;">Username</label>
            <input type="text" data-bind="value: userId" />
            <label>Review Date</label>
            <input type="text" data-bind="value: reviewDate" />
            <label>Rating</label>
            <div class="rating" data-bind="ratingValue: rating"></div>
            <label style="margin-top:1em;">Comment</label>
            <textarea data-bind="value: comments"></textarea>
            <a class="button right" href="javascript:void(0)" data-bind="click: $parent.submit">Submit</a>
        </div>
    </div>
</div>